<!DOCTYPE html>
<!-- saved from url=(0055)http://layuimini-onepage.99php.cn/#/page/welcome-3.html -->

<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>后台 - ApeNixX</title>
    <link rel="shortcut icon" th:href="@{/static/images/icon.png}" type="image/x-icon">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link th:href="@{/admin/layui/css/layui.css}" rel="stylesheet" />

    <!--<link rel="stylesheet" th:href="@{/static/admin/home/layui.css}" media="all">-->
    <link rel="stylesheet" th:href="@{/static/admin/home/layuimini.css}" media="all">
    <link rel="stylesheet" th:href="@{/static/admin/home/public.css}" media="all">
    <link rel="stylesheet" th:href="@{/static/admin/home/font-awesome.min.css}" media="all">
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style id="layuimini-bg-color">.layui-layout-admin .layui-header{background-color:#1aa094!important;}
.layui-header>ul>.layui-nav-item.layui-this,.layuimini-tool i:hover{background-color:#197971!important;}
.layui-layout-admin .layui-logo {background-color:#243346!important;}
.layui-side.layui-bg-black,.layui-side.layui-bg-black>.layui-left-menu>ul {background-color:#2f4056!important;}
.layui-left-menu .layui-nav .layui-nav-child a:hover:not(.layui-this) {background-color:#3b3f4b;}
.layui-layout-admin .layui-nav-tree .layui-this, .layui-layout-admin .layui-nav-tree .layui-this>a, .layui-layout-admin .layui-nav-tree .layui-nav-child dd.layui-this, .layui-layout-admin .layui-nav-tree .layui-nav-child dd.layui-this a {
background-color: #1aa094 !important;
}</style>
<link id="layuicss-layer" rel="stylesheet" th:href="@{/static/static/admin/home/layer.css}" media="all"></head>
<body class="layui-layout-body layuimini-all"  >

<div class="layui-layout layui-layout-admin" >



    <div class="layui-body"   style="margin-left: -11%;margin-top: -3%;">
        <div th:fragment="home">
        <div class="layuimini-content-page"><style>
    .layui-top-box {padding:40px 20px 20px 20px;color:#fff}
    .panel {margin-bottom:17px;background-color:#fff;border:1px solid transparent;border-radius:3px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}
    .panel-body {padding:15px}
    .panel-title {margin-top:0;margin-bottom:0;font-size:14px;color:inherit}
    .label {display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;margin-top: .3em;}
    .layui-red {color:red}
    .main_btn > p {height:40px;}
</style>
<div class="layuimini-container layui-anim layui-anim-upbit">
    <div class="layuimini-main layui-top-box">
        <div class="layui-row layui-col-space10">

            <div class="layui-col-md3">
                <div class="col-xs-6 col-md-3">
                    <div class="panel layui-bg-cyan">
                        <div class="panel-body">
                            <div class="panel-title">
                                <span class="label pull-right layui-bg-blue">实时</span>
                                <h5>用户统计</h5>
                            </div>
                            <div class="panel-content">
                                <h1 class="no-margins" th:text="${userNum}">1234</h1>
                                <!--<div class="stat-percent font-bold text-gray"><i class="fa fa-commenting"></i> 1234</div>-->
                                <small>当前分类总记录数</small>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-col-md3">
                <div class="col-xs-6 col-md-3">
                    <div class="panel layui-bg-blue">
                        <div class="panel-body">
                            <div class="panel-title">
                                <span class="label pull-right layui-bg-cyan">实时</span>
                                <h5>总访客量统计</h5>
                            </div>
                            <div class="panel-content">
                                <h1 class="no-margins" text="${tv}">1234</h1>
                                <!--<div class="stat-percent font-bold text-gray"><i class="fa fa-commenting"></i> 1234</div>-->
                                <small>当前分类总记录数</small>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-col-md3">
                <div class="col-xs-6 col-md-3">
                    <div class="panel layui-bg-green">
                        <div class="panel-body">
                            <div class="panel-title">
                                <span class="label pull-right layui-bg-orange">实时</span>
                                <h5>昨日访客量统计</h5>
                            </div>
                            <div class="panel-content">
                                <h1 class="no-margins" text="${yv}">1234</h1>
                                <!--<div class="stat-percent font-bold text-gray"><i class="fa fa-commenting"></i> 1234</div>-->
                                <small>当前分类总记录数</small>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md3">
                <div class="col-xs-6 col-md-3">
                    <div class="panel layui-bg-orange">
                        <div class="panel-body">
                            <div class="panel-title">
                                <span class="label pull-right layui-bg-green">实时</span>
                                <h5>文章统计</h5>
                            </div>
                            <div class="panel-content">
                                <h1 class="no-margins" th:text="${articleNum}">1234</h1>
                                <!--<div class="stat-percent font-bold text-gray"><i class="fa fa-commenting"></i> 1234</div>-->
                                <small>当前分类总记录数</small>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="layui-box">
        <div class="layui-row layui-col-space10">
            <div class="layui-col-md12" id="viewChart" style="width:100px; height: 100px;">
            </div>
        </div>
    </div>

    <div class="layui-box">
        <div class="layui-row layui-col-space10">
            <div class="layui-col-md6">
                <table class="layui-table">
                    <colgroup>
                        <col width="150">
                        <col width="200">
                        <col>
                    </colgroup>
                    <thead>
                    <tr>
                        <th>昵称
                        </th>
                        <th>注册时间</th>
                        <th>手机号</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr each="u:${user}">
                        <td th:text="${username}">贤心</td>
                        <td text="${createTime}">2020-05-31</td>
                        <td th:text="${userPhone}">人生就像是一场修行</td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div class="layui-col-md6">
                <ul class="layui-timeline" id="sayId">
                    <li class="layui-timeline-item animated fadeInUp"><i class="layui-icon layui-timeline-axis"></i>
                        <div class="layui-timeline-content layui-text"><h3 class="layui-timeline-title">2020-06-7</h3><p>BBS-FORUM 最后的注册功能实现，开发完成，只是基本功能完成，需要改进的地方还有很多.</p></div></li>
                    <li class="layui-timeline-item animated fadeInUp"><i class="layui-icon layui-timeline-axis"></i>
                        <div class="layui-timeline-content layui-text"><h3 class="layui-timeline-title">2020-06-5</h3><p>BBS-FORUM 将前台页面搞定，并进行渲染数据，有些是利用Ajax接口实现页面渲染，有些利用了Thymeleaf模板.</p></div></li>
                    <li class="layui-timeline-item animated fadeInUp"><i class="layui-icon layui-timeline-axis"></i><div class="layui-timeline-content layui-text">
                        <h3 class="layui-timeline-title">2020-06-3</h3>BBS-FORUM 将VIP后台页面及功能基本实现，其中集成Markdown编辑器遇到坑，解决时间较长！<p></p></div></li>
                    <li class="layui-timeline-item animated fadeInUp"><i class="layui-icon layui-timeline-axis"></i><div class="layui-timeline-content layui-text">
                        <h3 class="layui-timeline-title">2020-05-31</h3><p>BBS-FORUM 数据库设计后，后端使用SpringBoot+Mybatis+Spring Security，前端使用LayUI搭建，前后端分离模式.</p></div></li>
                   </ul>
            </div>
        </div>
    </div>
</div></div>
    </div>
</div>
</div>
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<script th:src="@{/static/admin/js/echarts.min.js}"></script>


<script th:src="@{/static/admin/home/layui.js}" charset="utf-8"></script>
<script th:src="@{/static/admin/home/lay-config.js}" charset="utf-8"></script>
<script>
    layui.use(['element', 'layer', 'layuimini'], function () {
        var $ = layui.jquery,
            layer = layui.layer,
            layuimini = layui.layuimini;

       // layuimini.init('api/init.json');

        $('.login-out').on("click", function () {
            layer.msg('退出登录成功', function () {
                window.location = '/page/login-1.html';
            });
        });

        layuimini.listen();


    });
</script>
<script th:src="@{/static/admin/js/historyView.js}">
</script>

<div class="layui-layer-move"></div></body></html>